package com.example.qxfw.common.entity.zy;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 内涝点信息
 */
@Data
@TableName("waterlogging_pointinfo")
@EqualsAndHashCode
public class WaterLoggingPointInfo implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private Double lon;

    private Double lat;

    private Double waterwarningvalue;

    private String county;

    private String detailposition;

    private Date findwatertime;

    private Date waterendtime;

    private String waterreason;

    private Double waterdepth;

    private Double waterarea;

    private String dealcondition;

    private String reformplan;

    private String principal;

    private String tel;

    private Boolean isreformfinish;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Double getLon() {
        return lon;
    }

    public void setLon(Double lon) {
        this.lon = lon;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Double getWaterwarningvalue() {
        return waterwarningvalue;
    }

    public void setWaterwarningvalue(Double waterwarningvalue) {
        this.waterwarningvalue = waterwarningvalue;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county == null ? null : county.trim();
    }

    public String getDetailposition() {
        return detailposition;
    }

    public void setDetailposition(String detailposition) {
        this.detailposition = detailposition == null ? null : detailposition.trim();
    }

    public Date getFindwatertime() {
        return findwatertime;
    }

    public void setFindwatertime(Date findwatertime) {
        this.findwatertime = findwatertime;
    }

    public Date getWaterendtime() {
        return waterendtime;
    }

    public void setWaterendtime(Date waterendtime) {
        this.waterendtime = waterendtime;
    }

    public String getWaterreason() {
        return waterreason;
    }

    public void setWaterreason(String waterreason) {
        this.waterreason = waterreason == null ? null : waterreason.trim();
    }

    public Double getWaterdepth() {
        return waterdepth;
    }

    public void setWaterdepth(Double waterdepth) {
        this.waterdepth = waterdepth;
    }

    public Double getWaterarea() {
        return waterarea;
    }

    public void setWaterarea(Double waterarea) {
        this.waterarea = waterarea;
    }

    public String getDealcondition() {
        return dealcondition;
    }

    public void setDealcondition(String dealcondition) {
        this.dealcondition = dealcondition == null ? null : dealcondition.trim();
    }

    public String getReformplan() {
        return reformplan;
    }

    public void setReformplan(String reformplan) {
        this.reformplan = reformplan == null ? null : reformplan.trim();
    }

    public String getPrincipal() {
        return principal;
    }

    public void setPrincipal(String principal) {
        this.principal = principal == null ? null : principal.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public Boolean getIsreformfinish() {
        return isreformfinish;
    }

    public void setIsreformfinish(Boolean isreformfinish) {
        this.isreformfinish = isreformfinish;
    }
}